Camera noise reduction for machine vision systems

ABSTRACT

A method for reducing noise in an image from an image capture device includes filter the image using both an offset fixed pattern noise filter and a gain fixed pattern noise filter. Thereafter, the image is filtered using a remnant fixed pattern noise filter to reduce remnant fixed pattern noise.

CROSS-REFERENCE TO RELATED APPLICATIONS

None

BACKGROUND OF THE INVENTION

The present invention relates to reducing noise in images captured from a camera.

Digital cameras acquire images using a CCD or CMOS sensor, which contains a two-dimensional array of sensor elements. Each CCD or CMOS element converts light into electrons that are subsequently converted into a (digital) signal. Each such element may correspond to a pixel in an image or frame captured by the camera. In addition to the desirable signal, invariably the image or pixel data that is output from the sensor or camera contains undesirable noise. There are many different types of noise originating from the sensor and camera device, for example, fixed-pattern noise, read-out noise, and shot noise. In order to accurately identify the underlying image content, the noise needs to be suppressed or otherwise removed.

Dark current is one cause of fixed pattern noise (“FPN”). Dark current is generally the result of spurious charge accumulating in each CCD or CMOS sensor element, even in the absence of light. Different amounts of spurious charge accumulate in different elements, hence, the fixed pattern noise results in spatially non-uniform patterns in the captured image. However, the spatial distribution is substantially time invariant, hence part of the dark current noise can be characterized as fixed-pattern noise. This type of FPN may be referred to as Dark Signal Non-Uniformity (“DSNU”). In addition to such DSNU noise, there is also dark current shot noise, which is spatially and temporally random noise on top of the dark current. Furthermore, the dark current noise is temperature-dependent, which makes the phenomenon less predictable in situations where temperature varies. In general, the dark current noise increases with increasing temperature.

Shot noise is fundamentally connected to the way photons arrive at detector elements. Photon shot noise is a spatially and temporally random phenomenon. Its noise variance generally depends on the signal strength. Read out noise may be considered as encompassing other random noise sources that are not generally dependent on signal strength, similar to additive white Gaussian noise. These may include amplifier noise, analog-to-digital conversion (ADC) noise, and several other types of noise.

It is desirable to reduce many of the different types of noise originating from the sensor and camera device, such as, fixed-pattern noise, read-out noise, and shot noise to accurately identify the underlying image content.

The foregoing and other objectives, features, and advantages of the invention may be more readily understood upon consideration of the following detailed description of the invention, taken in conjunction with the accompanying drawings.

BRIEF DESCRIPTION OF THE SEVERAL VIEWS OF THE DRAWINGS

FIG. 1 illustrates an overview of a system for noise characterization and noise reduction.

FIG. 2 illustrates noise reduction sub-stages.

FIG. 3 illustrates measuring the gain of fixed pattern noise.

FIG. 4 illustrates measuring the offset of fixed pattern noise.

FIG. 5 illustrates estimation of random noise parameters.

FIG. 6 illustrates on-line noise reduction.

FIG. 7 illustrates a remnant fixed pattern noise filter.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT

A system for characterizing the noise and for reducing noise in camera images is illustrated in FIG. 1. The system includes an offline stage and an online stage. The offline stage consists of measurements and characterization of the noise using the same camera (or similar camera) that is used in the online (production) stage. The offline stage is typically performed infrequently, perhaps even only once, for each specific camera and/or camera configuration and/or set of camera settings. Hence, it is typically not required to operate under real-time constraints. In the offline stage, test objects (test targets) are positioned in the scene that is imaged using the camera. A series of images is captured, processed, and analyzed to extract the relevant noise characteristics. These characteristics are stored in a suitable storage medium, for example on a computer hard disk. The storage medium may be connected to or part of a host computer system separate from the camera itself.

The online stage refers to the actual use of the camera and image processing system in a production environment. The noise reduction stage processes images of objects that are to be analyzed, and reduces the noise in each image, before the image is forwarded to the actual analysis stages (e.g. an inspection stage). The online noise reduction stage repeatedly utilizes the noise characteristics stored on the storage medium. The online stage is typically subject to real-time operating constraints, hence, the noise reduction image processing stage is typically required to operate within a limited processing time. This stage may be implemented by a suitable combination of hardware and software. For example, this stage may be implemented by a personal computer running suitable image processing software for noise reduction.

Referring to FIG. 2, an overview of the noise reduction sub-stages is illustrated which include sub-stages to reduce offset FPN and to reduce gain FPN. These two sub-stages may be separate stages or combined into a single sub-stage. These sub-stages substantially reduce the FPN, but unfortunately some of the noise still remains. For example, FPN may still exist in the image after these initial stages, generally referred to herein as remnant fixed pattern noise (remnant FPN). In some cases, this remnant FPN may be the result of dark current shot noise. This remnant FPN may also be the result of a difference in the operating temperature compared to the instance when the FPN calibration measurements were performed. In some applications, it may be difficult to sufficiently control or even measure the operating temperature. Hence, the FPN may be overcompensated, or undercompensated. It is therefore useful to provide additional processing to remove remnant FPN. An additional sub-stage may be used to remove or otherwise reduce remnant FPN. The remnant FPN may use any suitable filter, such as extended rank-conditioned median filter. The final sub-stage suppresses readout noise and shot noise. The shot and readout noise filter may use any suitable filter, such as an extended adaptive noise smoothing filter.

The noise model may consider each image as a two-dimensional (2-D) array of size M×N pixels. A pixel location in the 2-D image is indicated by (i,j). Also, if the system uses a series of multiple images, it may use the notation (i,j,k) to indicate a pixel location in the k'th image. A model for the image and noise may be as follows. g(i,j,k)=c _(FPN)(i,j)·f(i,j,k)+d _(FPN)(i,j)+n _(T)(i,j,k)  Equation 1

where:

f(i,j,k) is the “true” image that the system wants to measure (the “desired signal”);

g(i,j,k) is the “actual image” that was captured by the camera, i.e., the data;

d_(FPN)(i,j) is the non-uniform offset/bias FPN, due to DSNU (Dark Signal Non-Uniformity);

c_(FPN)(i,j) is the non-uniform gain FPN, due to PRNU (Pixel Responsivity Non-Uniformity);

n_(T)(i,j,k) is temporal random noise, containing both read noise and shot noise: n _(T)(i,j,k)=n _(READ)(i,j,k)+n _(SHOT)(i,j,k)  Equation 2

The read noise comprises generally signal-independent noise sources. It generally has zero mean and is mainly characterized by its variance. Var[n _(READ)(i,j,k)]=σ_(READ) ²  Equation 3

The read noise variance is assumed to be constant, e.g. the same at each pixel location, in every image.

The shot noise is signal-dependent and is characterized by a variance that depends on the signal value at the particular pixel location. Var[n _(SHOT)(i,j,k)]=α·f(i,j,k)  Equation 4

where □ represents the overall gain in pixel Digital Number (DN) per electron.

The variance of the two noise sources add up to the overall temporal random noise variance. Var[n _(T)(i,j,k)]=σ_(READ) ² +α·f(i,j,k)  Equation 5

Note that the non-uniform offset and gain appear random spatially, but are substantially fixed in time, so substantially the same in every image.

Referring to FIG. 3, the non-uniform gain FPN may be characterized by the 2-D array (M×N pixels) c_(FPN)(i,j). A camera with a perfectly uniform response may have c_(FPN)(i,j)=1 in all pixels. A deviation from the value 1 represents a non-uniformity in the gain. This gain component may be measured. The system may use a spatially uniform light source aimed at the camera and capture multiple images of this uniform field (“flat field”). For example, such a uniform light source may be provided by an integrating sphere. Let K1 be the number of images captured with the camera. K1 which should be a significant number, e.g. K1>9. Also, any parameter settings of the camera as well as imaging conditions should be the same (or generally the same) for each image, as the conditions and parameters used in the on-line (production) stage. Since a flat field is presented to the camera, the actual signal should be a constant value across the image. f(i,j,k)=μ_(FF)  Equation 6

Also, the image should be the same, other than the temporal noise, across the K1 captures. If the system averages these K1 captures together, the random temporal noise will be suppressed. Hence, considering equation 1 and equation. 6, this average image is given by:

$\begin{matrix} {{g_{light}^{AVE}\left( {i,j} \right)} = {{\frac{1}{K\; 1}{\sum\limits_{k = 1}^{K\; 1}{g\left( {i,j,k} \right)}}} \approx {{{c_{FPN}\left( {i,j} \right)} \cdot \mu_{FF}} + {d_{FPN}\left( {i,j} \right)}}}} & {{Equation}\mspace{14mu} 7} \end{matrix}$

This average image contains the gain FPN component, but also still contains the offset FPN component. To remove and/or reduce the offset FPN component, another series of images may be captured with the same camera, in the same conditions, except that no light is presented to the camera/sensor. The exposure time used to capture this series of “dark” images is the same as (or substantially the same as) the exposure time used when capturing the above flat field images with light. Let K2 be the number of such “dark” images captured. Again, K2 should be a significant number, e.g. K2>9. Without any light, f(i,j)=0. Hence, considering again equation 1, when the system averages these K2 images together, the average image is given as follow.

$\begin{matrix} {{g_{dark}^{AVE}\left( {i,j} \right)} = {{\frac{1}{K\; 2}{\sum\limits_{k = 1}^{K\; 2}{g\left( {i,j,k} \right)}}} \approx {d_{FPN}\left( {i,j} \right)}}} & {{Equation}\mspace{14mu} 8} \end{matrix}$

Again, the random noise will be suppressed due to the averaging.

The gain of the FPN component can be computed by subtracting the second average image from the first image, pixel by pixel, as illustrated in equation 9. FF(i,j)=g _(light) ^(AVE)(i,j)−g _(dark) ^(AVE)(i,j)≈c _(FPN)(i,j)·μ_(FF)  Equation 9

The system may apply post-processing to this “FPN gain image” or “flat field image” FF(i,j). Namely, the system may compute its global mean and global standard deviation. Then, the system may clip the image such that the final estimated flat field pixel values fall between a global minimum and a global maximum value based on a constant parameter value. For example, the minimum may be the global mean minus 3.0× the global standard deviation, and the maximum may be the global mean plus 3.0× the global standard deviation. The flat field image FF(i,j) is then stored, for later on-line correction of gain FPN.

The non-uniform offset FPN may be characterized by the 2-D array (M×N pixels) d_(FPN)(i,j). A camera without offset FPN may have a value of d_(FPN)(i,j) equal to 0 or some constant in all pixels. This offset component can be measured using any suitable technique, such as the technique shown in FIG. 4.

The system may capture a series of “dark frames”, i.e., take images while presenting no light to the camera or sensor (using the lens cap or with the shutter closed). This should be done at several exposure times. Let a particular exposure time be denoted by t_(m). For example, t_(m)=100 ms. The offset FPN component associated with that exposure time is denoted by d_(FPN,t) _(m) (i,j). Let K3 be the number of such “dark” images captured with exposure time t_(m). Again, K3 should be as large as possible, e.g. K3>9. Without any light, f(i,j)=0. Hence, considering again equation 1, when averaging these K3 images together, the average image is given by:

$\begin{matrix} {{{DF}_{t_{m}}\left( {i,j} \right)} = {{g_{{dark},t_{m}}^{AVE}\left( {i,j} \right)} = {{\frac{1}{K\; 3}{\sum\limits_{k = 1}^{K\; 3}{g\left( {i,j,k} \right)}}} \approx {d_{{FPN},t_{m}}\left( {i,j} \right)}}}} & {{Equation}\mspace{14mu} 10} \end{matrix}$

Again, the random noise will be suppressed due to the averaging. This image is referred to as “FPN offset image” or “average dark frame”. Such an average dark frame DF_(t) _(m) (i,j) should be obtained for each exposure time needed. These average dark frames DF_(t) _(m) (i,j) are stored, for later on-line correction of offset FPN. This concludes the steps used for off-line characterization of the FPN.

Another off-line step may be performed that relates to the characterization of the temporal random noise component n_(T)(i,j,k). The variance of the random noise is described by equation 5. The parameters characterizing the variance of the read and shot noise are the read noise variance σ_(READ) ² and shot noise gain α. For purposes of estimating these parameters for the specific camera being used, data points of the noise variance versus the signal level should be obtained. For example, a series of data frames may be taken at increasing exposure times. That is, the system may set the exposure times at increasing values, e.g. 1, 2, 3, . . . , 100, . . . , 200, . . . ms. At each exposure time, the system may capture 2 data frames (or more) of a uniform (blank) target. The system may also capture a set of dark frames at that exposure time. One of the data frames is subtracted from the other data frame. The system may define multiple measurement windows in the subtraction resulting image, where each measurement window may be a square region of multiple pixels, e.g. 64×64 pixels, or 128×128 pixels, or 256×256 pixels. In each window, the system computes the variance, and divides it by 2.0 (correcting for the subtraction). The system may also compute a “true” signal value for each measurement window, by subtracting the average value of the measurement window in the (averaged) dark frame from the average value of the corresponding measurement window in the data frame. Hence, for that measurement window, the system has a single <signal, variance> data point. By compiling all data points for multiple measurement windows and for multiple exposure times, the system has a collection of data points at various levels of the signal (and corresponding variance value). These data points may be plotted in a graph, for example as shown in FIG. 5. As can be seen in FIG. 5, the data points follow a linear behavior, as predicted the model in equation 5. The parameters of the model can be estimated easily from the collected data points by fitting them to a linear model (straight line), e.g. using a standard linear least-squares fitting procedure. This provides us with an estimate of σ_(READ) ² and α for the camera.

Referring to FIG. 6, an overview of the on-line noise reduction process is shown where a first image is captured using a desired exposure time t_(e). Subsequently, the FPN offset and gain components in this capture are removed by calibration, using the FPN gain image and FPN offset image with the appropriate exposure time. The system removes the offset component first, followed by removal of the gain component, as shown in FIG. 2. These two sub-steps can also be implemented together, or reversed. Let the captured image be denoted by g_(t) _(e) (i,j,k). A first estimate of the “true” image f(i,j,k) can be computed as follows:

$\begin{matrix} {{\hat{f}\left( {i,j,k} \right)} = {\frac{{g_{t_{e}}\left( {i,j,k} \right)} - {{DF}_{t_{e}}\left( {i,j} \right)}}{{FF}\left( {i,j} \right)} \times {\hat{\mu}}_{FF}}} & {{Equation}\mspace{14mu} 11} \end{matrix}$

The average value of the flat field may be estimated by taking the spatial average of the flat field image:

$\begin{matrix} {{\hat{\mu}}_{FF} = {\frac{1}{M \times N}{\sum\limits_{i = 1}^{M}{\sum\limits_{j = 1}^{N}{{FF}\left( {i,j} \right)}}}}} & {{Equation}\mspace{14mu} 12} \end{matrix}$

The FPN calibration step significantly reduces FPN in the image. However, the FPN components may not be perfectly predictable, as previously discussed. The FPN in the image may be undercompensated or overcompensated. Hence, there may be remaining FPN apparent in the image at this stage. This remnant FPN generally appears as spike noise or impulse noise in the image; i.e., it consists of multiple, isolated spikes that may have a significantly higher or lower value than the surrounding pixels. The FPN reduction step is intended to remove or otherwise reduce this remnant spike (impulse) noise, while attempting to avoid any removal of image (scene) features.

One approach to removing impulse noise is use a median filter, e.g., using a 3×3 pixel window. However, the median filter does not discriminate between impulse noise and image features; hence, there is a significant likelihood of removing small image features. The system may utilize a specific instance of the so-called Rank-Conditioned Rank-Selection filter family. Specifically, use a Rank-Conditioned Median filter, extended to further ensure small image features are not removed.

The Extended Rank-Conditioned Median filter may be defined as follows. The system may use a sliding 3×3 window that passes over the image pixels. At any position, the system may have 9 pixel values inside the 3×3 window, which may be denoted by a vector [f₁, f₂, f₃, f₄, f₅, f₆, f₇, f₈, f₉]. The ordering is such that f₅ is the center pixel in the 3×3 window. These pixel values may be ranked from low to high, and the resulting vector of ranked pixel values is denoted given by [r₁, r₂, r₃, r₄, r₅, r₆, r₇, r₈, r₉], where r₁≦r₂≦r₃ . . . ≦r₉. In other words, r₁ is the pixel value in the window with rank 1, i.e. the minimum; r₉ is the pixel value in the window with rank 9, i.e. the maximum; and r₅ is the median pixel value. In the system, an isolated noise spike is detected first, by checking if the center pixel value has either rank 1 (the minimum in the window) or rank 9 (the maximum in the window). If the center pixel does not have rank 1 or 9, it is not a noise spike and no action is taken. In this case, the center pixel is not replaced and retains its original value. If the center pixel value has rank 1, then the system determines the difference between the center pixel value (r₁) and the pixel with the next higher value (r₂). Or, if the center pixel value has rank 9, then the system determines the difference between the center pixel (r₉) and the pixel with the next lower value (r₈). If the absolute value of this difference is larger than a pre-specified threshold T_(RCM), then the filter classifies the center pixel as a noise spike due to remnant FPN. In that case, the center pixel value is replaced by the median value (r₅). The Extended Rank Conditioned Median filter can be specified as follows,

$\begin{matrix} \left. {\hat{f}}_{c}\leftarrow\left\{ \begin{matrix} r_{5} & {if} & {\left( {f_{5} = r_{1}} \right)\bigwedge\left( {{r_{2} - r_{1}} > T_{RCM}} \right)} \\ r_{5} & {if} & {\left( {f_{5} = r_{9}} \right)\bigwedge\left( {{r_{9} - r_{8}} > T_{RCM}} \right)} \\ f_{5} & \; & {otherwise} \end{matrix} \right. \right. & {{Equation}\mspace{14mu} 13} \end{matrix}$

where {circumflex over (f)}_(c) is the estimate for the center pixel. An example threshold value is T_(RCM)=8. Note that the threshold value may be fixed. Alternatively, the threshold may be decided adaptively, based on an estimate of the strength of the remnant FPN.

The sequence of sub-steps taken to determine the Extended Rank Conditioned Median output may be modified, as desired. For example, different ranking (sorting) techniques may be used. As another example, the filter may be optimized by noting that a complete ranking may not be necessary to realize the filter previously discussed. As another example, the filter may be optimized further by considering and processing the pixel values in multiple, neighboring, windows simultaneously.

An example of the operation of the filter is shown in FIG. 7, a 3×3 window is shown overlaid on part of an image. The 9 pixel values in the window are repeated in a vector. The center pixel value is 71, and can be considered a positive single-pixel spike compared to all its neighboring pixel values. The ranked pixel values are shown in a vector. The filter detects the noise spike by determining that the center pixel value has rank 9 (is the maximum) and that the difference between the center value and the next smaller value (in this case pixel value 47) is larger than a threshold (e.g. 8). In this case, the center pixel value would be replaced by the median, which is 46 in this example. If the center pixel value had value 48, it would still have rank 9; however, the difference with the pixel at rank 8 would be smaller than the threshold. In that case, a significant spike is not present, and the filter would leave the center pixel value unchanged.

The final step in the on-line noise reduction stage, after FPN removal, is suppression of the temporal random noise, containing both readout noise and shot noise. The remaining random noise may be suppressed using a spatial neighborhood filter. For the purposes of this section, the image data at this stage may be modeled as follows, g(i,j)=f(i,j)+n _(T)(i,j)  Equation 14

where: f(i,j) is the “true” image, g(i,j) is the given data; and n_(T)(i,j) is temporal random noise. Again the “true” image features should not be suppressed in this stage while maintaining a low processing time. The system may utilize a specific instance of the so-called Adaptive Noise Smoothing filter extended to improve its performance. The Extended Adaptive Noise Smoothing filter is based on local statistics and may be defined as follows. The filter uses a sliding window, e.g. a 5×5 square window, of pixels centered on the center pixel to be processed. The filter window size W is a parameter. Suppose the sliding window is center on a pixel at location (i,j). Let g(i,j) be an estimate of the local mean of the given image g(i,j). The system can determine this value by computing the average pixel value in the local window around (i,j). The estimate may be proved by restricting the set of pixels inside the window that is used to compute the local mean. Namely, only include a pixel value g(m,n) if its absolute difference with the center pixel value is smaller than a threshold T_(ANS). That is, if |g(m,n)−g(i,j)|<T_(ANS), then g(m,n) contributes to the local mean. An example value of the threshold is T_(ANS)=10. This local mean is theoretically equal to the local mean of the noise-free image (“true”) image f(i,j), because the noise is zero-mean. This local mean g(i,j) itself may serve as an estimate of the noise-free pixel value f(i,j); however, the ANS filter improves upon this by adaptively weighting this local mean with the input pixel value g(i,j). This weighting action serves to prevent suppression of local image features, which may result because g(i,j) was obtained by local spatial averaging. In this weighting, the ANS filter takes into account an estimate of the local noise strength, as well as an estimate of the local signal variance, as follows.

Let v_(g)(i,j) be an estimate of the local variance of g(i,j). The system can determine this value by compute a local variance statistic of the pixel values in the local window around (i,j). The system may improve this estimate by again restricting the set of pixels inside the window that is used to compute this local variance. Namely, only include a pixel value g(m,n) if its absolute difference with the center pixel value is smaller than a threshold T_(ANS). That is, if |g(m,n)−g(i,j)|<T_(ANS), then g(m,n) contributes to the local variance.

Let v_(n)(i,j) be an estimate of the variance of the temporal noise at (i,j). According to the noise model in equation 5, the system can form an estimate of this variance as follows. v _(n)(i,j)=σ_(READ) ²+α· f (i,j)=σ_(READ) ²+α· g (i,j)  Equation 15

Here, the system uses the random noise parameters estimated in the off-line stage. Now, the system can estimate the local variance in the noise-free image, v_(f)(i,j), as follows. v _(f)(i,j)=(v _(g)(i,j)−v _(n)(i,j))₊  Equation 16

That is, the system subtracts the estimate of the noise variance from the estimate of the variance of the given image, and clips the value at 0 (to avoid negative values).

The final estimate of the local noise-free pixel value is computed as follows:

$\begin{matrix} {{\hat{f}\left( {i,j} \right)} = \frac{{{v_{n}\left( {i,j} \right)} \cdot {\overset{\_}{g}\left( {i,j} \right)}} + {{v_{f}\left( {i,j} \right)} \cdot {g\left( {i,j} \right)}}}{{v_{f}\left( {i,j} \right)} + {v_{n}\left( {i,j} \right)}}} & {{Equation}\mspace{14mu} 17} \end{matrix}$

As can be seen from equation 17, the ANS filter computes a balance between the local mean g(i,j) and the noisy input value g(i,j). The weighting is decided locally based on the strength of the local noise relative to the local signal variance. Near image features, the local signal variance is high, therefore, the input value is weighted higher than the local mean, preserving the feature. In image areas that are free of features (e.g. flat areas), the local signal variance is low, therefore, the local mean is weighted higher, providing a noise suppression effect. It is noted that the threshold value T_(ANS) may be fixed. Alternatively, the threshold may be decided adaptively, based on an estimate of the strength of the noise. For example, the threshold may be set to a multiple of the local standard deviation of the noise, or an estimate thereof.

The terms and expressions which have been employed in the foregoing specification are used therein as terms of description and not of limitation, and there is no intention, in the use of such terms and expressions, of excluding equivalents of the features shown and described or portions thereof, it being recognized that the scope of the invention is defined and limited only by the claims which follow. 

1. A method for reducing noise in an image from an image capture device comprising: (a) receiving an image from an image capture device; (b) processing said image in a manner to reduce offset fixed pattern noise in said image using a random noise suppressed, two-dimensional model of offset fixed pattern noise from said image capture device; (c) processing said image in a manner to reduce gain fixed pattern noise in said image using a random noise suppressed, two-dimensional model of gain fixed pattern noise from said image capture device; (d) filtering said filtered image as a result of step (b) and step (c) using a remnant fixed pattern noise filter to reduce remnant fixed pattern noise.
 2. The method of claim 1 further comprising the step of filtering said filtered image as a result of step (d) using a shot noise filter.
 3. The method of claim 2 further comprising the step of filtering said filtered image as a result of step (d) using a readout noise filter.
 4. The method of claim 1 wherein said processing of said image to reduce offset fixed pattern noise uses a predetermined characterization of said image capture device.
 5. The method of claim 1 wherein said processing said image to reduce gain fixed pattern noise uses a predetermined characterization of said image capture device.
 6. The method of claim 1 wherein said filtering of said image using said remnant fixed pattern noise filter does not use a predetermined characterization of said image capture device.
 7. The method of claim 4 wherein said filtering of said image using said remnant fixed pattern noise filter does not use a predetermined characterization of said image capture device.
 8. The method of claim 5 wherein said filtering of said image using said remnant fixed pattern noise filter does not use a predetermined characterization of said image capture device.
 9. The method of claim 3 wherein said readout noise is generally signal-independent noise with zero mean.
 10. The method of claim 2 wherein said shot noise is signal-dependent with a variance that depends on the signal value at a particular pixel location.
 11. The method of claim 1 wherein said remnant fixed pattern noise has the characteristic of generally isolated spikes that have at least one of a significantly higher value and lower value than its surrounding pixels.
 12. The method of claim 11 wherein said remnant fixed pattern noise filter uses a rank conditioned rank selection filter.
 13. The method of claim 12 wherein said filter uses an additional condition for classifying a pixel as a noise spike.
 14. The method of claim 13 wherein said additional condition requires the difference between said pixel and surrounding pixels to be larger than a threshold.
 15. The method of claim 14 wherein said filter is characterized by $\left. {\hat{f}}_{c}\leftarrow\left\{ \begin{matrix} r_{5} & {{if}\mspace{14mu}{\left( {f_{5} = r_{1}} \right)\bigwedge\left( {{r_{2} - r_{1}} > T_{RCM}} \right)}} \\ r_{5} & {{if}\mspace{14mu}{\left( {f_{5} = r_{9}} \right)\bigwedge\left( {{r_{9} - r_{8}} > T_{RCM}} \right)}} \\ f_{5} & {{otherwise};} \end{matrix} \right. \right.$ where {circumflex over (f)}_(c) is a filtered value of a target pixel, f_(i) is the value of the i^(th) pixel in a matrix about said target pixel r_(i) is the i^(th) ranked value in said matrix, and T_(RCM) is a threshold.
 16. A method for reducing noise in an image from an image capture device comprising: (a) receiving an image from an image capture device; (b) processing said image in a manner to reduce offset fixed pattern noise in said image; (c) processing said image in a manner to reduce gain fixed pattern noise in said image; and (d) filtering said filtered image as a result of step (b) and step (c) using a remnant fixed pattern noise filter to reduce remnant fixed pattern noise, wherein said remnant fixed pattern noise filter is a rank conditioned rank selection filter characterized by $\left. {\hat{f}}_{c}\leftarrow\left\{ \begin{matrix} r_{5} & {{if}\mspace{14mu}{\left( {f_{5} = r_{1}} \right)\bigwedge\left( {{r_{2} - r_{1}} > T_{RCM}} \right)}} \\ r_{5} & {{if}\mspace{14mu}{\left( {f_{5} = r_{9}} \right)\bigwedge\left( {{r_{9} - r_{8}} > T_{RCM}} \right)}} \\ f_{5} & {{otherwise};} \end{matrix} \right. \right.$ where {circumflex over (f)}_(c) is a filtered value of a target pixel, f_(i) is the value of the i^(th) pixel in a matrix about said target pixel r_(i) is the i^(th) ranked value in said matrix, and T_(RCM) is a threshold. 